class ToTaskBean {
  String code;
  bool success;
  TaskBean data;
  String msg;

  ToTaskBean({this.code, this.success, this.data, this.msg});

  ToTaskBean.fromJson(Map<String, dynamic> json) {
    code = json['code'];
    success = json['success'];
    data = json['data'] != null ? new TaskBean.fromJson(json['data']) : null;
    msg = json['msg'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['code'] = this.code;
    data['success'] = this.success;
    if (this.data != null) {
      data['data'] = this.data.toJson();
    }
    data['msg'] = this.msg;
    return data;
  }
}

class TaskBean {
  String id;
  String utcTitle;
  String utcType;
  String utcRoutePath;
  String utcFormType;
  String utcFormId;
  String utcInterfaceUrl;

  TaskBean(
      {this.id,
        this.utcTitle,
        this.utcType,
        this.utcRoutePath,
        this.utcFormType,
        this.utcFormId,
        this.utcInterfaceUrl});

  TaskBean.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    utcTitle = json['utcTitle'];
    utcType = json['utcType'];
    utcRoutePath = json['utcRoutePath'];
    utcFormType = json['utcFormType'];
    utcFormId = json['utcFormId'];
    utcInterfaceUrl = json['utcInterfaceUrl'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['id'] = this.id;
    data['utcTitle'] = this.utcTitle;
    data['utcType'] = this.utcType;
    data['utcRoutePath'] = this.utcRoutePath;
    data['utcFormType'] = this.utcFormType;
    data['utcFormId'] = this.utcFormId;
    data['utcInterfaceUrl'] = this.utcInterfaceUrl;
    return data;
  }
}